.dialog-mask, .half-screen-dialog {
    transition: all .3s;
}

.half-screen-dialog-hidden {
    .dialog-mask {
        visibility: hidden;
        opacity: 0;
    }

    .half-screen-dialog {
        transform: translateY(100%);
    }
}

.half-screen-dialog--show {

    .dialog-mask {
        opacity: 1;
        visibility: visible;
    }

    .half-screen-dialog {
        transform: translateY(0%);
    }
}

.dialog-mask {
    position: fixed;
    z-index: 5000;
    top: 0;

    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.half-screen-dialog {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5000;
    line-height: 1.4;
    background-color: #ffffff;
    border-top-left-radius: 33px;
    border-top-right-radius: 33px;
    box-sizing: border-box;
    font-family: PingFang SC;
    overflow: hidden;
}

.half-screen-dialog-body {
    background: #FFFFFF;
    position:relative;
    .close {
        position: absolute;
        z-index: 6000;
        top: 48rpx;
        left:679rpx;
        height:26rpx;
        width:26rpx;
      }
}

.safe-bottom {
    padding-bottom: 0;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
}

.half-screen-dialog-header {
    position: relative;
    height: 130px;
    display: flex;
}

.half-screen-dialog-header-line::after {
    position: absolute;
    content: ' ';
    width: 100%;
    left: 0;
    bottom: 0;
    height: 1px;
    background-color: #EEEEEE;
    -webkit-transform: scale(1, 0.5);
    transform: scale(1, 0.5);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
}

.half-screen-dialog-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    .title {
        margin-top: 6px;
        font-size: 33px;
        font-weight: bold;
        color: #090909;
    }
}

.half-screen-dialog-left{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
    z-index: 100;
}

.half-screen-dialog-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
    z-index: 100;
}

.close-icon {
    margin-top: 7px;
    width: 44px;
    height: 44px;
}

.half-screen-dialog-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5001;
    width: 100%;
    display: flex;
    justify-content: center;
    height: 160px;
    align-items: center;
}

.close-btn {
    width: 600px;
    height: 88px;
    background: #FCB142;
    color: #fff;
    border-radius: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media only screen and (max-height: 558px) {
    .half-screen-dialog {
        max-height: none
    }
}
